package com.lu.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @program ElasticsearchLearn
 * @description: 关键词表
 * @author: zhanglu
 * @create: 2021-03-09 10:42:00
 */
@Data
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class KeyWords {

    private Long id;
    //管理者标识
    private String adminId;
    //来源
    private String form;

    //关键词分类
    private String type;
    //关键词停用启用
    private String status;
    //关键词(唯一索引)
    private String words;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

}
